#ifndef BASEENEMY_H
#define BASEENEMY_H

#include "../ai.h"
#include "../player.h"
#include "../world.h"
#include "../logger/logger.h"

class BaseEnemy:public AI
{
public:
    BaseEnemy(World *world);
    virtual void createModel();
    virtual void move(float time){}
    virtual void setPosition(Ogre::Vector3 pos);
    virtual int getType(){
        return TYPE_SPRINTER;
    }
    void animDeath(){}

    virtual Ogre::Vector3 getPosition(){
        return m_node->getPosition();
    }

    virtual bool colides(){return true;}
    virtual void colide(AI *object);
    virtual void destroy();

    Singleton *m_logger;


protected:
    virtual std::string getModel(){return "ogrehead.mesh";}

    World *m_world;
    Ogre::SceneNode *m_node;
    int m_speed;
    int m_lastShoot;
    int m_health;
};

#endif // BASEENEMY_H
